In 1 pound / gallon [lb / gal] [metric, imperial] there is 1.69732222012621E+15 grain / cubic kilometer.